<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- 引入js -->
  <script src="./js/prepared.js"></script>
  <script>
    let prepare = Prepared(3).ready(() => {
      console.log('ready')
    })
  </script>
</head>
<body>
  <button onclick="prepare.submit()">submit</button>

</body>
</html>